package com.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dao.InterfaceViewMapper;
import com.domain.InterfaceView;
import com.service.InterfaceViewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.Collections;
import java.util.List;

/**
 * InterfaceViewServiceImpl
 **/
@Service
public class InterfaceViewServiceImpl
        extends ServiceImpl<InterfaceViewMapper, InterfaceView>
        implements InterfaceViewService {
    @Autowired
    private InterfaceViewMapper interfaceViewMapper;

    @Override
    public List<InterfaceView> findAll() {
        return interfaceViewMapper.findAll();
    }

    @Override
    public List<InterfaceView> findAllTest(List<Integer> idList) {
        return interfaceViewMapper.findAllTest(idList);
    }

    @Override
    public void add(InterfaceView interfaceView) {
        interfaceViewMapper.add(interfaceView);
    }

    @Override
    public void update(InterfaceView interfaceView) {
        interfaceViewMapper.update(interfaceView);
    }

    @Override
    public List<InterfaceView> findAllfindAllFail(InterfaceView interfaceView) {
        return interfaceViewMapper.findAllfindAllFail(interfaceView);
    }

    @Override
    public void deleteById(List<Integer> idList) {
        interfaceViewMapper.deleteById(idList);
    }

}
